#!/bin/bash

if [[ $(id -u) != 0 ]]; then
    echo "Please run as root or use sudo"
    exit 1
fi

set -e

# reference
# https://wiki.debian.org/zh_CN/DesktopEnvironment
# https://wiki.debian.org/zh_CN/Gnome

apt-get install -y gnome-core
apt-get install -y --dry-run gnome
# apt-get install -y --dry-run task-gnome-desktop

# run gnome-extensions-app in terminal or search in apps
apt-get install -y gnome-shell-extension-dashtodock

# run gnome-tweaks in terminal or search in apps
apt-get install -y gnome-tweaks

set +e
apt autopurge quadrapassel
apt autopurge four-in-a-row
apt autopurge hitori
apt autopurge aisleriot

